;
; YVR WinUsb driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class               = AndroidUsbDeviceClass
ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
Provider            = %ProviderName%
DriverVer           = 01/17/2022,11.0.0000.00000
CatalogFile.NTx86   = yvrwinusb86.cat
CatalogFile.NTamd64 = yvrwinusba64.cat

[ClassInstall32]
Addreg = AndroidWinUsbClassReg

[AndroidWinUsbClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-1


[Manufacturer]
%ProviderName% = YVR, NTx86, NTamd64


[YVR.NTx86]

;YVR (generic)
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D00D
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_903A&MI_02
%SingleBootLoaderInterface% = USB_Install, USB\VID_34E2&PID_4EF1

;YVR One
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4EF3&MI_01

;YVR 2
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4EFD&MI_01

;YVR 3
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F07&MI_01

;YVR 4
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F11&MI_01

;YVR 5
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F1B&MI_01

;YVR 6
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F25&MI_01

;YVR 7
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F2F&MI_01

;YVR 8
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F39&MI_01

;YVR 9
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F43&MI_01

;YVR X
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F4D&MI_01


[YVR.NTamd64]

;YVR (generic)
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D00D
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_903A&MI_02
%SingleBootLoaderInterface% = USB_Install, USB\VID_34E2&PID_4EF1
 
;YVR One
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4EF3&MI_01

;YVR 2
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4EFD&MI_01

;YVR 3
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F07&MI_01

;YVR 4
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F11&MI_01

;YVR 5
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F1B&MI_01

;YVR 6
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F25&MI_01

;YVR 7
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F2F&MI_01

;YVR 8
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F39&MI_01

;YVR 9
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F43&MI_01

;YVR X
%CompositeAdbInterface%     = USB_Install, USB\VID_34E2&PID_4F4D&MI_01


[USB_Install]
Include = winusb.inf
Needs   = WINUSB.NT

[USB_Install.Services]
Include     = winusb.inf
AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService = WINUSB, WinUSB_Install

[WinUSB_Install]
KmdfLibraryVersion  = 1.9

[USB_Install.HW]
AddReg  = Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"

[USB_Install.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

[SourceDisksNames]
1 = %DISK_NAME%,,,\i386
2 = %DISK_NAME%,,,\amd64

[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll  = 1
WdfCoInstaller01009.dll = 1

[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll  = 2
WdfCoInstaller01009.dll = 2

[Strings]
ProviderName                = "Play For Dream Inc."
SingleAdbInterface          = "YVR ADB Interface"
CompositeAdbInterface       = "YVR Composite ADB Interface"
SingleBootLoaderInterface   = "YVR Bootloader Interface"
WinUSB_SvcDesc              = "YVR USB Driver"
DISK_NAME                   = "YVR WinUsb installation disk"
ClassName                   = "YVR Device"
